'use strict';
// 实例化vue对象
var one = new Vue({
    el: "#vue-app-one",
    data: {
        title: "app-one的内容",
        // greet: "打招呼"
    },
    methods: {

    },
    computed: {
        greet: function(){
            return "Hello App One";
        }
    }
});

var two = new Vue({
    el: "#vue-app-two",
    data: {
        title: "app-two的内容"
    },
    methods: {
        changeOneTitle: function(){
            one.title="已经改变了";
        }
    },
    computed: {
        greet: function(){
                return "Hello App Two";
            }
    }
});

two.title = "app two 的 title 也被改变了"
 